String.prototype.format=function(...param:any){
    var args=Array.prototype.slice.call(arguments);
    var count=0;
    return this.replace(/%s/g,(s:any,i:any)=>{
        return args[count++];
    });
}